﻿<!DOCTYPE html>
<!--法律法规清单管理详情-->
<html>

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
        <script src="/static/js/common.js"></script>

    <style>
        /*下载对齐*/
        .el-form-item__content {
            line-height: 28px !important;
        }
    </style>
</head>

<body>
    <div id="app" v-cloak class="popupW100">
        <el-form :model="Form" status-icon ref="form" label-width="100px" size="mini" label-position="right">

            <el-row>
                <!--文件级别-->
                <el-col :span="11">
                    <p class="main-label">{{LawRegulationsTable.FileLeve+mark.m}}</p>
                    <p class="lh35">{{Form.fileLeveName}}</p>
                </el-col>
                <!--法律法规名称|消息验证|文本框-->
                <el-col :span="11" offset="2">
                    <p class="main-label">{{LawRegulationsTable.LawRegulationsName+mark.m}}</p>
                    <p class="lh35">{{Form.lawRegulationsName}}</p>
                </el-col>
                <!--发布主体-->
                <el-col :span="11">
                    <p class="main-label">{{LawRegulationsTable.IssueSubject+mark.m}}</p>
                    <p class="lh35">{{Form.issueSubject}}</p>
                </el-col>
                <!--文号/标准号-->
                <el-col :span="11" offset="2">
                    <p class="main-label">{{LawRegulationsTable.Symbol+mark.m}}</p>
                    <p class="lh35">{{Form.symbol}}</p>
                </el-col>
                <!--颁布日期|消息验证|时间选择框-->
                <el-col :span="11">
                    <p class="main-label">{{LawRegulationsTable.IssueDate+mark.m}}</p>
                    <p class="lh35">{{Form.mark01}}</p>
                </el-col>
                <!--实施日期|消息验证|时间选择框-->
                <el-col :span="11" offset="2">
                    <p class="main-label">{{LawRegulationsTable.ImplementationDate+mark.m}}</p>
                    <p class="lh35">{{Form.mark02}}</p>
                </el-col>
                <!--适用条款-->
                <el-col :span="24">
                    <p class="main-label">{{LawRegulationsTable.ApplyClause+mark.m}}</p>
                    <p class="lh35">{{Form.applyClause}}</p>
                </el-col>
                <!--对工作描述情况-->
                <el-col :span="24" >
                    <p class="main-label">{{LawRegulationsTable.DescribeForWork+mark.m}}</p>
                    <p class="lh35">{{Form.describeForWork}}</p>
                </el-col>
                <!--备注-->
                <el-col :span="24" >
                    <p class="main-label">{{LawRegulationsTable.Remarks+mark.m}}</p>
                    <p class="lh35">{{Form.remarks}}</p>
                </el-col>
                <el-col :span="11" >
                    <p class="main-label">{{LawRegulationStandardSpecification.Attachment+mark.m}}</p>
                    <!--<p class="lh35">{{Form.attachment}}</p>-->
                    <!--<p class="lh35">
        <el-button style="margin: 10px 10px 10px 20px;" type="success" size="mini">
            {{fujian}}
        </el-button>
    </p>-->

                    <p class="lh35">
                        <btn-uploadfile-input v-model="Form.attachmentName"
                                              :fileid="Form.attachment" :filename="Form.attachmentName" :showdownload="true" :showupload="false"
                                              @success="attachmentHandle"></btn-uploadfile-input>

                    </p>
                </el-col>
            </el-row>
            <!--下方表格-->
            <el-table stripe ref="table" :model="formInline" :data="Form.standardInformationDept" :row-key="getRowKeys" border
                @selection-change="handleSelectionChange" row-style="height:10px" style="width: 100%;">
                <!--第二列【部门：width:120】-->
                <el-table-column prop="departmentName" :label="LawRegulationsTable.Class" min-width="100"
                    show-overflow-tooltip="true">
                </el-table-column>
                <!--第三列【部门职责】-->
                <el-table-column prop="deptTypeText" :label="LawRegulationsTable.Responsibilities" min-width="200"
                    show-overflow-tooltip="true">
                </el-table-column>
                <!--第四列【符合情况】-->
                <el-table-column prop="fitSituation" :label="LawRegulationsTable.FitSituation" min-width="200"
                    show-overflow-tooltip="true">
                </el-table-column>
                <!--第五列【(不)/符合描述】-->
                <el-table-column prop="fitSituationOrNotDescribe" :label="LawRegulationsTable.FitSituationOrNotDescribe"
                    min-width="200" show-overflow-tooltip="true">
                </el-table-column>
                <!--第六列【备注】-->
                <el-table-column prop="remarks" :label="LawRegulationsTable.Remarks" min-width="100"
                    show-overflow-tooltip="true">
                </el-table-column>
            </el-table>

        </el-form>
        <br>
        <el-button class="fr" type="primary" @click="parent.ListItem.dialogVisible=false">{{col.btnBack}}</el-button>
        <br>
        <br>
        <br>
    </div>
    <script>
        var app = new Vue({
            el: '#app',
            data: {
                ListItem: ListItem,
                fujian: '下载',
                FileLeve: [],
                Form: {
                    id: guidEmpty,
                    FileLeve: '',
                },
                formInline: {
                    model: { FileLeve: '', },
                },
                offset: 0,
            },
            methods: {
                //解決edge下select bug
                visibleChange: function (isVisible) {
                    visibleChange(isVisible)
                },
                //通过ID赋值
                getData: function () {
                    getData(this, '/api/FL_StandardInformationWeb/get?id=' + this.id);
                },
                //获取分页数据push
                GetPageData: function (currentIndex) { GetPageData(this, currentIndex, '/api/FL_StandardInformationWeb/GetListDep?id=' + this.id) },
                attachmentHandle: function (response, fileid, fileName) {
                  
                    this.Form.attachment = fileid;
                    this.Form.attachmentName = fileName;
                },
            },
            mounted: function () {
               // this.FileLeve = getDicData('65');
                this.id = getUrlParam("id");
                this.getData();
                //初始化数据
              //  this.GetPageData(this.id);
            }
        })
    </script>
</body>

</html>